﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FeeCrack
{
    public class Digit
    {
        public Digit(string code, int row, int col)
        {
            Code = code.Trim();
            Position = col - 1;
            Number = row - 2;
            isDecimalPoint = false;
        }

        public Digit(string code, int row)
        {
            Code = code;
            Position = row+1 ;
            isDecimalPoint = true;
        }

        private bool isDecimalPoint;

        public int Number { get; set; }

        public int Position { get; set; }

        public string Code { get; set; }

        public bool IsDecimalPoint { get; set; }
    }
}
